package cn.exrick.xboot.base.vo

import com.fasterxml.jackson.annotation.JsonFormat
import io.swagger.annotations.ApiModel
import io.swagger.annotations.ApiModelProperty
import org.springframework.format.annotation.DateTimeFormat
import java.util.*

@ApiModel("服务公司信息")
data class SecurityAdvisorServiceEnterpriseVo(

        @ApiModelProperty("企业名称")
        var enterpriseUserName:String? = null,

        @ApiModelProperty("开始服务时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        var serviceBeginTime: Date? = null,

        @ApiModelProperty("结束服务时间")
        @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
        @DateTimeFormat(pattern = "yyyy-MM-dd")
        var serviceEndTime: Date? = null
)